You must supply a function template for each function that you define. A function template specifies the string that Crystal Reports is to enter in the Formula Editor's Formula text box when you select the function from the Functions list in the Formula Editor. Each template must contain:
In this example, the string "Picture ( , )" is to be entered into the formula whenever you select the Picture function from the Functions list in the Formula Editor.
All function templates must be set up in a table with the following heading:
UFFunctionTemplates FunctionTemplates [] =
Note: The table must be terminated with a null.
Continuing with the example, the function templates table for the Picture function should look like this:
UFFunctionTemplates FunctionTemplates [] =
{
{"Picture (!, )"},
{NULL}
};
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |